<template>
  <div class="hello">
    <h1>{{ msg }} </h1>
    路由信息==》 {{$route.name}}
  </div>
</template>

<script>
export default {
  name: 'ch',
  data () {
    return {
      msg: 'router params 钩子函数'
    }
  }
}
</script>

<style scoped>

</style>
